package com.glacier.framework.boot.rest.utils;

import lombok.extern.slf4j.Slf4j;

import java.util.Objects;

/**
 * date 2023-12-31 22:26
 *
 * @author glacier
 * @version 1.0
 */
@Slf4j
public class FileUtils {
    private FileUtils() {
    }

    public static String getFileName() {
        // 获取当前运行类路径
        String path = Objects.requireNonNull(FileUtils.class.getResource("/")).getPath();

        return path;
    }

}
